package com.ruoyi.oa.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文档权限对象 oa_file_user
 * 
 * @author ruoyi
 * @date 2022-02-09
 */
public class OaFileUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文件或文件夹id */
    @Excel(name = "文件或文件夹id")
    private String fileId;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    public void setFileId(String fileId) 
    {
        this.fileId = fileId;
    }

    public String getFileId() 
    {
        return fileId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fileId", getFileId())
            .append("userId", getUserId())
            .toString();
    }
}
